Turn the private #define for the group-shifting modifier into API
authorMichael Natterer <mitch@lanedo.com>
Fri, 18 Nov 2011 14:14:31 +0000 (15:14 +0100)
committerMichael Natterer <mitch@gimp.org>
Fri, 18 Nov 2011 14:14:31 +0000 (15:14 +0100)
commit9c79f9f868617a918e301c14ebeeff1bdc4c7e9d
tree5f0ad8393b830c1ff6d8b150937b1e6e6011b487
parent1c8481a6ea52f34210177f54159d231ea4ba0b7d
Turn the private #define for the group-shifting modifier into API

Add GDK_MODIFIER_INTENT_SHIFT_GROUP to enum GdkModifierIntent
and handle it in gdk_keymap_get_modifier_mask(). Add an X11
impl of the method and return keymap_x11->group_switch_mask.
Return 0 from the default impl because we don't know.
gdk/gdkkeys.c
gdk/gdktypes.h
gdk/quartz/gdkkeys-quartz.c
gdk/x11/gdkkeys-x11.c
gtk/gtkkeyhash.c
gtk/gtkprivate.c
gtk/gtkprivate.h